#ifndef BEHAVIOR_H
#define BEHAVIOR_H


class Behavior
{
public:
    Behavior();
};

class FlyBehavior
{
public:
    FlyBehavior();
    virtual ~FlyBehavior();
    virtual void Fly() = 0;
};

/// 用翅膀飞
class FlyWithWings : public FlyBehavior
{
public:
    void Fly();
};

/// 直接就能飞
class FlyNoWay : public FlyBehavior
{
public:
    void Fly();
};

/// 用火箭飞
class FlyWithRocket : public FlyBehavior
{
public:
    void Fly();
};

#endif // BEHAVIOR_H
